<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GdaDataProxy: GNOME Data Access 5 manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="GNOME Data Access 5 manual">
<link rel="up" href="data_models.html" title="Data handling">
<link rel="prev" href="GdaDataModelDir.html" title="GdaDataModelDir">
<link rel="next" href="libgda-5.0-GdaDataComparator.html" title="GdaDataComparator">
<meta name="generator" content="GTK-Doc V1.32 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#GdaDataProxy.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#GdaDataProxy.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces">  <span class="dim">|</span> 
                  <a href="#GdaDataProxy.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_properties">  <span class="dim">|</span> 
                  <a href="#GdaDataProxy.properties" class="shortcut">Properties</a></span><span id="nav_signals">  <span class="dim">|</span> 
                  <a href="#GdaDataProxy.signals" class="shortcut">Signals</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="data_models.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GdaDataModelDir.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="libgda-5.0-GdaDataComparator.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GdaDataProxy"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GdaDataProxy.top_of_page"></a>GdaDataProxy</span></h2>
<p>GdaDataProxy — Proxy to hold modifications for any <a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a>, providing the <a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a> interface itself</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GdaDataProxy.stability-level"></a><h2>Stability Level</h2>
<a href="http://foldoc.org/Stable"><span class="acronym">Stable</span></a>, unless otherwise indicated
</div>
<div class="refsect1">
<a name="GdaDataProxy.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="returnvalue">GObject</span></a> *
</td>
<td class="function_name">
<a class="link" href="GdaDataProxy.html#gda-data-proxy-new" title="gda_data_proxy_new ()">gda_data_proxy_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="returnvalue">GdaDataModel</span></a> *
</td>
<td class="function_name">
<a class="link" href="GdaDataProxy.html#gda-data-proxy-get-proxied-model" title="gda_data_proxy_get_proxied_model ()">gda_data_proxy_get_proxied_model</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
</td>
<td class="function_name">
<a class="link" href="GdaDataProxy.html#gda-data-proxy-get-proxied-model-n-cols" title="gda_data_proxy_get_proxied_model_n_cols ()">gda_data_proxy_get_proxied_model_n_cols</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
</td>
<td class="function_name">
<a class="link" href="GdaDataProxy.html#gda-data-proxy-get-proxied-model-n-rows" title="gda_data_proxy_get_proxied_model_n_rows ()">gda_data_proxy_get_proxied_model_n_rows</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GdaDataProxy.html#gda-data-proxy-is-read-only" title="gda_data_proxy_is_read_only ()">gda_data_proxy_is_read_only</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
</td>
<td class="function_name">
<a class="link" href="GdaDataProxy.html#gda-data-proxy-get-values" title="gda_data_proxy_get_values ()">gda_data_proxy_get_values</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libgda-5.0-Gda-Value.html#GdaValueAttribute" title="enum GdaValueAttribute"><span class="returnvalue">GdaValueAttribute</span></a>
</td>
<td class="function_name">
<a class="link" href="GdaDataProxy.html#gda-data-proxy-get-value-attributes" title="gda_data_proxy_get_value_attributes ()">gda_data_proxy_get_value_attributes</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GdaDataProxy.html#gda-data-proxy-alter-value-attributes" title="gda_data_proxy_alter_value_attributes ()">gda_data_proxy_alter_value_attributes</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
</td>
<td class="function_name">
<a class="link" href="GdaDataProxy.html#gda-data-proxy-get-proxied-model-row" title="gda_data_proxy_get_proxied_model_row ()">gda_data_proxy_get_proxied_model_row</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GdaDataProxy.html#gda-data-proxy-delete" title="gda_data_proxy_delete ()">gda_data_proxy_delete</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GdaDataProxy.html#gda-data-proxy-undelete" title="gda_data_proxy_undelete ()">gda_data_proxy_undelete</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GdaDataProxy.html#gda-data-proxy-row-is-deleted" title="gda_data_proxy_row_is_deleted ()">gda_data_proxy_row_is_deleted</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GdaDataProxy.html#gda-data-proxy-row-is-inserted" title="gda_data_proxy_row_is_inserted ()">gda_data_proxy_row_is_inserted</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GdaDataProxy.html#gda-data-proxy-cancel-row-changes" title="gda_data_proxy_cancel_row_changes ()">gda_data_proxy_cancel_row_changes</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GdaDataProxy.html#gda-data-proxy-apply-row-changes" title="gda_data_proxy_apply_row_changes ()">gda_data_proxy_apply_row_changes</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GdaDataProxy.html#gda-data-proxy-has-changed" title="gda_data_proxy_has_changed ()">gda_data_proxy_has_changed</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GdaDataProxy.html#gda-data-proxy-row-has-changed" title="gda_data_proxy_row_has_changed ()">gda_data_proxy_row_has_changed</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
</td>
<td class="function_name">
<a class="link" href="GdaDataProxy.html#gda-data-proxy-get-n-new-rows" title="gda_data_proxy_get_n_new_rows ()">gda_data_proxy_get_n_new_rows</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GdaDataProxy.html#gda-data-proxy-set-sample-size" title="gda_data_proxy_set_sample_size ()">gda_data_proxy_set_sample_size</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
</td>
<td class="function_name">
<a class="link" href="GdaDataProxy.html#gda-data-proxy-get-sample-size" title="gda_data_proxy_get_sample_size ()">gda_data_proxy_get_sample_size</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GdaDataProxy.html#gda-data-proxy-set-sample-start" title="gda_data_proxy_set_sample_start ()">gda_data_proxy_set_sample_start</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
</td>
<td class="function_name">
<a class="link" href="GdaDataProxy.html#gda-data-proxy-get-sample-start" title="gda_data_proxy_get_sample_start ()">gda_data_proxy_get_sample_start</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
</td>
<td class="function_name">
<a class="link" href="GdaDataProxy.html#gda-data-proxy-get-sample-end" title="gda_data_proxy_get_sample_end ()">gda_data_proxy_get_sample_end</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GdaDataProxy.html#gda-data-proxy-apply-all-changes" title="gda_data_proxy_apply_all_changes ()">gda_data_proxy_apply_all_changes</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GdaDataProxy.html#gda-data-proxy-cancel-all-changes" title="gda_data_proxy_cancel_all_changes ()">gda_data_proxy_cancel_all_changes</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GdaDataProxy.html#gda-data-proxy-set-filter-expr" title="gda_data_proxy_set_filter_expr ()">gda_data_proxy_set_filter_expr</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="GdaDataProxy.html#gda-data-proxy-get-filter-expr" title="gda_data_proxy_get_filter_expr ()">gda_data_proxy_get_filter_expr</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
</td>
<td class="function_name">
<a class="link" href="GdaDataProxy.html#gda-data-proxy-get-filtered-n-rows" title="gda_data_proxy_get_filtered_n_rows ()">gda_data_proxy_get_filtered_n_rows</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GdaDataProxy.properties"></a><h2>Properties</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody>
<tr>
<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
<td class="property_name"><a class="link" href="GdaDataProxy.html#GdaDataProxy--cache-changes" title="The “cache-changes” property">cache-changes</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
<td class="property_name"><a class="link" href="GdaDataProxy.html#GdaDataProxy--defer-sync" title="The “defer-sync” property">defer-sync</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a> *</td>
<td class="property_name"><a class="link" href="GdaDataProxy.html#GdaDataProxy--model" title="The “model” property">model</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
<tr>
<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
<td class="property_name"><a class="link" href="GdaDataProxy.html#GdaDataProxy--prepend-null-entry" title="The “prepend-null-entry” property">prepend-null-entry</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
<td class="property_name"><a class="link" href="GdaDataProxy.html#GdaDataProxy--sample-size" title="The “sample-size” property">sample-size</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GdaDataProxy.signals"></a><h2>Signals</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="signal_proto_type">
<col width="300px" class="signal_proto_name">
<col width="200px" class="signal_proto_flags">
</colgroup>
<tbody>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="GdaDataProxy.html#GdaDataProxy-filter-changed" title="The “filter-changed” signal">filter-changed</a></td>
<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="GdaDataProxy.html#GdaDataProxy-row-changes-applied" title="The “row-changes-applied” signal">row-changes-applied</a></td>
<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="GdaDataProxy.html#GdaDataProxy-row-delete-changed" title="The “row-delete-changed” signal">row-delete-changed</a></td>
<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="GdaDataProxy.html#GdaDataProxy-sample-changed" title="The “sample-changed” signal">sample-changed</a></td>
<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="GdaDataProxy.html#GdaDataProxy-sample-size-changed" title="The “sample-size-changed” signal">sample-size-changed</a></td>
<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></td>
</tr>
<tr>
<td class="signal_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a>*</td>
<td class="signal_name"><a class="link" href="GdaDataProxy.html#GdaDataProxy-validate-row-changes" title="The “validate-row-changes” signal">validate-row-changes</a></td>
<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GdaDataProxy.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="GdaDataProxy.html#GdaDataProxy-struct" title="GdaDataProxy">GdaDataProxy</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="GdaDataProxy.html#GdaDataProxyClass" title="GdaDataProxyClass">GdaDataProxyClass</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="GdaDataProxy.html#GdaDataProxyPrivate" title="GdaDataProxyPrivate">GdaDataProxyPrivate</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GdaDataProxy.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
    <span class="lineart">╰──</span> GdaDataProxy
</pre>
</div>
<div class="refsect1">
<a name="GdaDataProxy.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GdaDataProxy implements
 <a class="link" href="GdaDataModel.html" title="GdaDataModel">GdaDataModel</a>.</p>
</div>
<div class="refsect1">
<a name="GdaDataProxy.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include &lt;virtual/gda-ldap-connection.h&gt;
</pre>
</div>
<div class="refsect1">
<a name="GdaDataProxy.description"></a><h2>Description</h2>
<p>This object stores modifications to be made to a <a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a> object which is proxied until the modifications are actually
 written to the <a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a>, it can also filter the proxied data model to show only a subset (a defined number of continuous
 rows or by a filter to apply).</p>
<p> Specifically, for a proxied data model having <code class="varname">nb_cols</code> columns and <code class="varname">nb_rows</code> rows, 
 the <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> object has the following attributes:</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem">
<p><code class="varname">2 * nb_cols</code> columns:
</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; ">
<li class="listitem"><p>the first (&gt;= 0) <code class="varname">nb_cols</code> columns are the current values stored in the 
      proxy (which correspond to the values of the proxied data model if the considered row has not been 
      changed). The associated values are writable.</p></li>
<li class="listitem"><p>the last <code class="varname">nb_cols</code> columns are the values stored in the proxied data model, 
      at column <code class="varname">col - nb_cols</code></p></li>
</ul></div>
<p>
     </p>
</li>
<li class="listitem">
<p>a variable number of rows depending on the following attributes:
</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; ">
<li class="listitem"><p>if the proxy is configured to have an empty row as the first row</p></li>
<li class="listitem"><p>if the proxy only displays parts of the proxied data model</p></li>
<li class="listitem"><p>if new rows have been added to the proxy</p></li>
</ul></div>
<p>
   </p>
</li>
<li class="listitem"><p>Any <a class="link" href="GdaDataModelIter.html" title="GdaDataModelIter"><span class="type">GdaDataModelIter</span></a> iterator created will only make appear the colmuns as present in the proxied
       data model, not any of the other columns</p></li>
</ul></div>
<p> This situation is illustrated in the following schema, where there is a direct mapping between the proxy's
 rows and the proxied data model's rows:</p>
<div class="mediaobject"><img src="data_proxy1.png" width="602" alt="GdaDataProxy's values mapping regarding the proxied data model"></div>
<p> Note that unless explicitly mentioned, the columns are read-only.</p>
<p> The following figures illustrate row mappings between the data proxy and the proxied data model in 
 several situations (which can be combined, but are shown alone for simplicity):</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem">
<p>situation where rows 1 and 5 have been marked as deleted from the data proxy, using
<a class="link" href="GdaDataProxy.html#gda-data-proxy-delete" title="gda_data_proxy_delete ()"><code class="function">gda_data_proxy_delete()</code></a> method, the data
proxy has 2 rows less than the proxied data model:
</p>
<div class="mediaobject"><img src="data_proxy2.png" width="354" alt="GdaDataProxy with 2 rows marked as deleted"></div>
<p>
   </p>
</li>
<li class="listitem">
<p>situation where the data proxy only shows a sample of the proxied data model
at any given time, using the 
<a class="link" href="GdaDataProxy.html#gda-data-proxy-set-sample-size" title="gda_data_proxy_set_sample_size ()"><code class="function">gda_data_proxy_set_sample_size()</code></a> method
(the sample here is 4 rows wide, and starts at row 3):
</p>
<div class="mediaobject"><img src="data_proxy3.png" width="354" alt="GdaDataProxy with a sample size of 4"></div>
<p>
   </p>
</li>
<li class="listitem">
<p>situation where the data proxy shows a row of NULL values, using the
"prepend-null-entry" property:
</p>
<div class="mediaobject"><img src="data_proxy4.png" width="354" alt="GdaDataProxy with an extra row of NULL values"></div>
<p>
   </p>
</li>
<li class="listitem">
<p>situation where a row has been added to the data proxy, using for example the
<a class="link" href="GdaDataModel.html#gda-data-model-append-row" title="gda_data_model_append_row ()"><code class="function">gda_data_model_append_row()</code></a> method:
</p>
<div class="mediaobject"><img src="data_proxy5.png" width="354" alt="GdaDataProxy where a row has been added"></div>
<p>
   </p>
</li>
</ul></div>
<p> The <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> objects are thread safe, which means any proxy object can be used from
 any thread at the same time as they implement their own locking mechanisms.</p>
</div>
<div class="refsect1">
<a name="GdaDataProxy.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gda-data-proxy-new"></a><h3>gda_data_proxy_new ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="returnvalue">GObject</span></a> *
gda_data_proxy_new (<em class="parameter"><code><a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a> *model</code></em>);</pre>
<p>Creates a new proxy for <em class="parameter"><code>model</code></em>
. For bindings use <em class="parameter"><code>gda_data_proxy_new_with_data_model</code></em>
.</p>
<div class="refsect3">
<a name="gda-data-proxy-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>model</p></td>
<td class="parameter_description"><p>Data model to be proxied. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-data-proxy-new.returns"></a><h4>Returns</h4>
<p>a new <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> object. </p>
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-data-proxy-get-proxied-model"></a><h3>gda_data_proxy_get_proxied_model ()</h3>
<pre class="programlisting"><a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="returnvalue">GdaDataModel</span></a> *
gda_data_proxy_get_proxied_model (<em class="parameter"><code><a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> *proxy</code></em>);</pre>
<p>Fetch the <a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a> which <em class="parameter"><code>proxy</code></em>
 does proxy</p>
<div class="refsect3">
<a name="gda-data-proxy-get-proxied-model.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-data-proxy-get-proxied-model.returns"></a><h4>Returns</h4>
<p>the proxied data model. </p>
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-data-proxy-get-proxied-model-n-cols"></a><h3>gda_data_proxy_get_proxied_model_n_cols ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
gda_data_proxy_get_proxied_model_n_cols
                               (<em class="parameter"><code><a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> *proxy</code></em>);</pre>
<p>Get the number of columns in the proxied data model</p>
<div class="refsect3">
<a name="gda-data-proxy-get-proxied-model-n-cols.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-data-proxy-get-proxied-model-n-cols.returns"></a><h4>Returns</h4>
<p> the number of columns, or -1 if an error occurred</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-data-proxy-get-proxied-model-n-rows"></a><h3>gda_data_proxy_get_proxied_model_n_rows ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
gda_data_proxy_get_proxied_model_n_rows
                               (<em class="parameter"><code><a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> *proxy</code></em>);</pre>
<p>Get the number of rows in the proxied data model</p>
<div class="refsect3">
<a name="gda-data-proxy-get-proxied-model-n-rows.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-data-proxy-get-proxied-model-n-rows.returns"></a><h4>Returns</h4>
<p> the number of rows, or -1 if the number of rows is not known</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-data-proxy-is-read-only"></a><h3>gda_data_proxy_is_read_only ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gda_data_proxy_is_read_only (<em class="parameter"><code><a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> *proxy</code></em>);</pre>
<div class="refsect3">
<a name="gda-data-proxy-is-read-only.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-data-proxy-is-read-only.returns"></a><h4>Returns</h4>
<p> TRUE if the proxied data model is itself read-only</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-data-proxy-get-values"></a><h3>gda_data_proxy_get_values ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
gda_data_proxy_get_values (<em class="parameter"><code><a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> *proxy</code></em>,
                           <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> proxy_row</code></em>,
                           <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *cols_index</code></em>,
                           <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_cols</code></em>);</pre>
<p>Retrieve a whole list of values from the <em class="parameter"><code>proxy</code></em>
 data model. This function
calls <code class="function">gda_data_proxy_get_value()</code>
for each column index specified in <em class="parameter"><code>cols_index</code></em>
, and generates a <a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> on the way.</p>
<div class="refsect3">
<a name="gda-data-proxy-get-values.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>proxy_row</p></td>
<td class="parameter_description"><p>a proxy row</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cols_index</p></td>
<td class="parameter_description"><p>array containing the columns for which the values are requested. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/array"><span class="acronym">array</span></a> length=n_cols]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>n_cols</p></td>
<td class="parameter_description"><p>size of <em class="parameter"><code>cols_index</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-data-proxy-get-values.returns"></a><h4>Returns</h4>
<p>a new list of values (the list must be freed, not the values),
or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if an error occurred. </p>
<p><span class="annotation">[<a href="http://foldoc.org/element-type"><span class="acronym">element-type</span></a> GValue][<a href="http://foldoc.org/transfer%20container"><span class="acronym">transfer container</span></a>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-data-proxy-get-value-attributes"></a><h3>gda_data_proxy_get_value_attributes ()</h3>
<pre class="programlisting"><a class="link" href="libgda-5.0-Gda-Value.html#GdaValueAttribute" title="enum GdaValueAttribute"><span class="returnvalue">GdaValueAttribute</span></a>
gda_data_proxy_get_value_attributes (<em class="parameter"><code><a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> *proxy</code></em>,
                                     <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> proxy_row</code></em>,
                                     <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> col</code></em>);</pre>
<p>Get the attributes of the value stored at (proxy_row, col) in <em class="parameter"><code>proxy</code></em>
, which
is an ORed value of <a class="link" href="libgda-5.0-Gda-Value.html#GdaValueAttribute" title="enum GdaValueAttribute"><span class="type">GdaValueAttribute</span></a> flags</p>
<div class="refsect3">
<a name="gda-data-proxy-get-value-attributes.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>proxy_row</p></td>
<td class="parameter_description"><p>a proxy row</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>col</p></td>
<td class="parameter_description"><p>a valid proxy column</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-data-proxy-get-value-attributes.returns"></a><h4>Returns</h4>
<p> a <a class="link" href="libgda-5.0-Gda-Value.html#GdaValueAttribute" title="enum GdaValueAttribute"><span class="type">GdaValueAttribute</span></a> with the value's attributes at given position</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-data-proxy-alter-value-attributes"></a><h3>gda_data_proxy_alter_value_attributes ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_data_proxy_alter_value_attributes (<em class="parameter"><code><a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> *proxy</code></em>,
                                       <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> proxy_row</code></em>,
                                       <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> col</code></em>,
                                       <em class="parameter"><code><a class="link" href="libgda-5.0-Gda-Value.html#GdaValueAttribute" title="enum GdaValueAttribute"><span class="type">GdaValueAttribute</span></a> alter_flags</code></em>);</pre>
<p>Alters the attributes of the value stored at (proxy_row, col) in <em class="parameter"><code>proxy</code></em>
. the <em class="parameter"><code>alter_flags</code></em>

can only contain the GDA_VALUE_ATTR_IS_NULL, GDA_VALUE_ATTR_IS_DEFAULT and GDA_VALUE_ATTR_IS_UNCHANGED
flags (other flags are ignored).</p>
<div class="refsect3">
<a name="gda-data-proxy-alter-value-attributes.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>proxy_row</p></td>
<td class="parameter_description"><p>A proxy row number</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>col</p></td>
<td class="parameter_description"><p>a valid column number</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>alter_flags</p></td>
<td class="parameter_description"><p>flags to alter the attributes. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-data-proxy-get-proxied-model-row"></a><h3>gda_data_proxy_get_proxied_model_row ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
gda_data_proxy_get_proxied_model_row (<em class="parameter"><code><a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> *proxy</code></em>,
                                      <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> proxy_row</code></em>);</pre>
<p>Get the <em class="parameter"><code>proxy</code></em>
's proxied model row corresponding to <em class="parameter"><code>proxy_row</code></em>
</p>
<div class="refsect3">
<a name="gda-data-proxy-get-proxied-model-row.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>proxy_row</p></td>
<td class="parameter_description"><p>A proxy row number</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-data-proxy-get-proxied-model-row.returns"></a><h4>Returns</h4>
<p> the proxied model's row, or -1 if <em class="parameter"><code>proxy</code></em>
row which only exists <em class="parameter"><code>proxy</code></em>
</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-data-proxy-delete"></a><h3>gda_data_proxy_delete ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_data_proxy_delete (<em class="parameter"><code><a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> *proxy</code></em>,
                       <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> proxy_row</code></em>);</pre>
<p>Marks the row <em class="parameter"><code>proxy_row</code></em>
 to be deleted</p>
<div class="refsect3">
<a name="gda-data-proxy-delete.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>proxy_row</p></td>
<td class="parameter_description"><p>A proxy row number</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-data-proxy-undelete"></a><h3>gda_data_proxy_undelete ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_data_proxy_undelete (<em class="parameter"><code><a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> *proxy</code></em>,
                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> proxy_row</code></em>);</pre>
<p>Remove the "to be deleted" mark at the row <em class="parameter"><code>proxy_row</code></em>
, if it existed.</p>
<div class="refsect3">
<a name="gda-data-proxy-undelete.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>proxy_row</p></td>
<td class="parameter_description"><p>A proxy row number</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-data-proxy-row-is-deleted"></a><h3>gda_data_proxy_row_is_deleted ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gda_data_proxy_row_is_deleted (<em class="parameter"><code><a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> *proxy</code></em>,
                               <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> proxy_row</code></em>);</pre>
<p>Tells if the row number <em class="parameter"><code>proxy_row</code></em>
 is marked to be deleted.</p>
<div class="refsect3">
<a name="gda-data-proxy-row-is-deleted.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>proxy_row</p></td>
<td class="parameter_description"><p>A proxy row number</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-data-proxy-row-is-deleted.returns"></a><h4>Returns</h4>
<p> TRUE if the row is marked to be deleted</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-data-proxy-row-is-inserted"></a><h3>gda_data_proxy_row_is_inserted ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gda_data_proxy_row_is_inserted (<em class="parameter"><code><a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> *proxy</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> proxy_row</code></em>);</pre>
<p>Tells if the row number <em class="parameter"><code>proxy_row</code></em>
 is a row which has been inserted in <em class="parameter"><code>proxy</code></em>

(and is thus not in the proxied data model).</p>
<div class="refsect3">
<a name="gda-data-proxy-row-is-inserted.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>proxy_row</p></td>
<td class="parameter_description"><p>A proxy row number</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-data-proxy-row-is-inserted.returns"></a><h4>Returns</h4>
<p> TRUE if the row is an inserted row</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-data-proxy-cancel-row-changes"></a><h3>gda_data_proxy_cancel_row_changes ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_data_proxy_cancel_row_changes (<em class="parameter"><code><a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> *proxy</code></em>,
                                   <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> proxy_row</code></em>,
                                   <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> col</code></em>);</pre>
<p>Resets data at the corresponding row and column. If <em class="parameter"><code>proxy_row</code></em>
 corresponds to a new row, then
that new row is deleted from <em class="parameter"><code>proxy</code></em>
.</p>
<div class="refsect3">
<a name="gda-data-proxy-cancel-row-changes.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>proxy_row</p></td>
<td class="parameter_description"><p>the row to cancel changes</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>col</p></td>
<td class="parameter_description"><p>the column to cancel changes, or less than 0 to cancel any change on the <em class="parameter"><code>row</code></em>
row</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-data-proxy-apply-row-changes"></a><h3>gda_data_proxy_apply_row_changes ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gda_data_proxy_apply_row_changes (<em class="parameter"><code><a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> *proxy</code></em>,
                                  <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> proxy_row</code></em>,
                                  <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Commits the modified data in the proxy back into the <a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a>.</p>
<div class="refsect3">
<a name="gda-data-proxy-apply-row-changes.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>proxy_row</p></td>
<td class="parameter_description"><p>the row number to commit</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>place to store the error, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-data-proxy-apply-row-changes.returns"></a><h4>Returns</h4>
<p> TRUE if no error occurred.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-data-proxy-has-changed"></a><h3>gda_data_proxy_has_changed ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gda_data_proxy_has_changed (<em class="parameter"><code><a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> *proxy</code></em>);</pre>
<p>Tells if <em class="parameter"><code>proxy</code></em>
 contains any modifications not applied to the proxied data model.</p>
<div class="refsect3">
<a name="gda-data-proxy-has-changed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-data-proxy-has-changed.returns"></a><h4>Returns</h4>
<p> TRUE if there are some modifications in <em class="parameter"><code>proxy</code></em>
</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-data-proxy-row-has-changed"></a><h3>gda_data_proxy_row_has_changed ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gda_data_proxy_row_has_changed (<em class="parameter"><code><a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> *proxy</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> proxy_row</code></em>);</pre>
<p>Tells if the row number <em class="parameter"><code>proxy_row</code></em>
 has changed</p>
<div class="refsect3">
<a name="gda-data-proxy-row-has-changed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>proxy_row</p></td>
<td class="parameter_description"><p>A proxy row number</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-data-proxy-row-has-changed.returns"></a><h4>Returns</h4>
<p> TRUE if the row has changed</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-data-proxy-get-n-new-rows"></a><h3>gda_data_proxy_get_n_new_rows ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
gda_data_proxy_get_n_new_rows (<em class="parameter"><code><a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> *proxy</code></em>);</pre>
<p>Get the number of rows which have been added to <em class="parameter"><code>proxy</code></em>
 and which are not part of
the proxied data model.</p>
<div class="refsect3">
<a name="gda-data-proxy-get-n-new-rows.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-data-proxy-get-n-new-rows.returns"></a><h4>Returns</h4>
<p> the number of new rows</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-data-proxy-set-sample-size"></a><h3>gda_data_proxy_set_sample_size ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_data_proxy_set_sample_size (<em class="parameter"><code><a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> *proxy</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> sample_size</code></em>);</pre>
<p>Sets the size of each chunk of data to display: the maximum number of rows which
can be "displayed" at a time (the maximum number of rows which <em class="parameter"><code>proxy</code></em>
 pretends to have).
The default value is arbitrary 300 as it is big enough to
be able to display quite a lot of data, but small enough to avoid too much data
displayed at the same time.</p>
<p>Note: the rows which have been added but not yet committed will always be displayed
regardless of the current chunk of data, and the modified rows which are not visible
when the displayed chunk of data changes are still held as modified rows.</p>
<p>To remove the chunking of the data to display, simply pass <em class="parameter"><code>sample_size</code></em>
 the <code class="literal">0</code> value.</p>
<div class="refsect3">
<a name="gda-data-proxy-set-sample-size.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>sample_size</p></td>
<td class="parameter_description"><p>the requested size of a chunk, or 0</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-data-proxy-get-sample-size"></a><h3>gda_data_proxy_get_sample_size ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
gda_data_proxy_get_sample_size (<em class="parameter"><code><a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> *proxy</code></em>);</pre>
<p>Get the size of each chunk of data displayed at a time.</p>
<div class="refsect3">
<a name="gda-data-proxy-get-sample-size.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-data-proxy-get-sample-size.returns"></a><h4>Returns</h4>
<p> the chunk (or sample) size, or 0 if chunking is disabled.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-data-proxy-set-sample-start"></a><h3>gda_data_proxy_set_sample_start ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_data_proxy_set_sample_start (<em class="parameter"><code><a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> *proxy</code></em>,
                                 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> sample_start</code></em>);</pre>
<p>Sets the number of the first row to be available in <em class="parameter"><code>proxy</code></em>
 (in reference to the proxied data model)</p>
<div class="refsect3">
<a name="gda-data-proxy-set-sample-start.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>sample_start</p></td>
<td class="parameter_description"><p>the number of the first row to be displayed</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-data-proxy-get-sample-start"></a><h3>gda_data_proxy_get_sample_start ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
gda_data_proxy_get_sample_start (<em class="parameter"><code><a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> *proxy</code></em>);</pre>
<p>Get the number of the first row to be available in <em class="parameter"><code>proxy</code></em>
 (in reference to the proxied data model)</p>
<div class="refsect3">
<a name="gda-data-proxy-get-sample-start.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-data-proxy-get-sample-start.returns"></a><h4>Returns</h4>
<p> the number of the first proxied model's row.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-data-proxy-get-sample-end"></a><h3>gda_data_proxy_get_sample_end ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
gda_data_proxy_get_sample_end (<em class="parameter"><code><a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> *proxy</code></em>);</pre>
<p>Get the number of the last row to be available in <em class="parameter"><code>proxy</code></em>
 (in reference to the proxied data model)</p>
<div class="refsect3">
<a name="gda-data-proxy-get-sample-end.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-data-proxy-get-sample-end.returns"></a><h4>Returns</h4>
<p> the number of the last proxied model's row.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-data-proxy-apply-all-changes"></a><h3>gda_data_proxy_apply_all_changes ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gda_data_proxy_apply_all_changes (<em class="parameter"><code><a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> *proxy</code></em>,
                                  <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Apply all the changes stored in the proxy to the proxied data model. The changes are done row
after row, and if an error
occurs, then it is possible that not all the changes to all the rows have been applied.</p>
<div class="refsect3">
<a name="gda-data-proxy-apply-all-changes.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>a place to store errors, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-data-proxy-apply-all-changes.returns"></a><h4>Returns</h4>
<p> TRUE if no error occurred</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-data-proxy-cancel-all-changes"></a><h3>gda_data_proxy_cancel_all_changes ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gda_data_proxy_cancel_all_changes (<em class="parameter"><code><a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> *proxy</code></em>);</pre>
<p>Cancel all the changes stored in the proxy (the <em class="parameter"><code>proxy</code></em>
 will be reset to its state
as it was just after creation). Note that if there are some cached changes (i.e. not applied
to the current proxied data model), then these cached changes are not cleared (set the "cache-changes"
property to <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> for this).</p>
<div class="refsect3">
<a name="gda-data-proxy-cancel-all-changes.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-data-proxy-cancel-all-changes.returns"></a><h4>Returns</h4>
<p> TRUE if no error occurred</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-data-proxy-set-filter-expr"></a><h3>gda_data_proxy_set_filter_expr ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gda_data_proxy_set_filter_expr (<em class="parameter"><code><a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> *proxy</code></em>,
                                <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filter_expr</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Sets a filter among the rows presented by <em class="parameter"><code>proxy</code></em>
. The filter is defined by a filter expression
which can be any SQL valid expression using <em class="parameter"><code>proxy</code></em>
's columns. For instance if <em class="parameter"><code>proxy</code></em>
 has the "id" and
"name" columns, then a filter can be "length(name) &lt; 5" to filter only the rows where the length of the
name is strictly inferior to 5, or "id &gt;= 1000 and id &lt; 2000 order by name limit 50" to filter only the rows where the id
is between 1000 and 2000, ordered by name and limited to 50 rows.</p>
<p>Note about column names: real column names can be used (double quoted if necessary), but columns can also be named
"_&lt;column number&gt;" with column numbers starting at 1.</p>
<p>Note that any previous filter expression is replaced with the new <em class="parameter"><code>filter_expr</code></em>
 if no error occurs
(if an error occurs, then any previous filter is left unchanged).</p>
<div class="refsect3">
<a name="gda-data-proxy-set-filter-expr.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>filter_expr</p></td>
<td class="parameter_description"><p>an SQL based expression which will filter the contents of <em class="parameter"><code>proxy</code></em>
, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to remove any previous filter. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/nullable"><span class="acronym">nullable</span></a>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>a place to store errors, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-data-proxy-set-filter-expr.returns"></a><h4>Returns</h4>
<p> TRUE if no error occurred</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-data-proxy-get-filter-expr"></a><h3>gda_data_proxy_get_filter_expr ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gda_data_proxy_get_filter_expr (<em class="parameter"><code><a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> *proxy</code></em>);</pre>
<p>Get the current filter expression used by <em class="parameter"><code>proxy</code></em>
.</p>
<div class="refsect3">
<a name="gda-data-proxy-get-filter-expr.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-data-proxy-get-filter-expr.returns"></a><h4>Returns</h4>
<p> the current filter expression or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no filter has been set</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-data-proxy-get-filtered-n-rows"></a><h3>gda_data_proxy_get_filtered_n_rows ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
gda_data_proxy_get_filtered_n_rows (<em class="parameter"><code><a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> *proxy</code></em>);</pre>
<p>Get the total number of filtered rows in <em class="parameter"><code>proxy</code></em>
 if a filter has been applied. As new rows
(rows added to the proxy and not yet added to the proxied data model) and rows to remove
(rows marked for removal but not yet removed from the proxied data model) are also filtered,
the returned number also contains references to new rows and rows to be removed.</p>
<div class="refsect3">
<a name="gda-data-proxy-get-filtered-n-rows.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-data-proxy-get-filtered-n-rows.returns"></a><h4>Returns</h4>
<p> the number of filtered rows in <em class="parameter"><code>proxy</code></em>
, or -1 if no filter has been applied</p>
</div>
</div>
</div>
<div class="refsect1">
<a name="GdaDataProxy.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GdaDataProxy-struct"></a><h3>GdaDataProxy</h3>
<pre class="programlisting">typedef struct _GdaDataProxy GdaDataProxy;</pre>
</div>
<hr>
<div class="refsect2">
<a name="GdaDataProxyClass"></a><h3>GdaDataProxyClass</h3>
<pre class="programlisting">typedef struct {
	GObjectClass            parent_class;

	void                 (* row_delete_changed)   (GdaDataProxy *proxy, gint row, gboolean to_be_deleted);

	void                 (* sample_size_changed)  (GdaDataProxy *proxy, gint sample_size);
	void                 (* sample_changed)       (GdaDataProxy *proxy, gint sample_start, gint sample_end);

	GError              *(* validate_row_changes) (GdaDataProxy *proxy, gint row, gint proxied_row);
	void                 (* row_changes_applied)  (GdaDataProxy *proxy, gint row, gint proxied_row);

	void                 (* filter_changed)       (GdaDataProxy *proxy);
} GdaDataProxyClass;
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GdaDataProxyPrivate"></a><h3>GdaDataProxyPrivate</h3>
<pre class="programlisting">typedef struct _GdaDataProxyPrivate GdaDataProxyPrivate;</pre>
</div>
</div>
<div class="refsect1">
<a name="GdaDataProxy.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GdaDataProxy--cache-changes"></a><h3>The <code class="literal">“cache-changes”</code> property</h3>
<pre class="programlisting">  “cache-changes”            <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
<p>Defines how changes kept in the data proxy are handled when the proxied data model
is changed (using the "model" property). The default is to silently discard all the
changes, but if this property is set to <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, then the changes are cached.</p>
<p>If set to <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, each cached change will be re-applied to a newly set proxied data model if
the change's number of columns match the proxied data model's number of columns and based on:</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>the contents of the proxied data model's modified row for updates and deletes</p></li>
<li class="listitem"><p>the inserts are always kept</p></li>
</ul></div>
<p>Owner: GdaDataProxy</p>
<p>Flags: Read / Write</p>
<p>Default value: FALSE</p>
<p class="since">Since: 5.2</p>
</div>
<hr>
<div class="refsect2">
<a name="GdaDataProxy--defer-sync"></a><h3>The <code class="literal">“defer-sync”</code> property</h3>
<pre class="programlisting">  “defer-sync”               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
<p>Tells if changes to the sample of rows displayed is done in background in several steps or if it's done in one step.</p>
<p>Owner: GdaDataProxy</p>
<p>Flags: Read / Write</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="GdaDataProxy--model"></a><h3>The <code class="literal">“model”</code> property</h3>
<pre class="programlisting">  “model”                    <a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a> *</pre>
<p>Proxied data model.</p>
<p>Owner: GdaDataProxy</p>
<p>Flags: Read / Write / Construct</p>
</div>
<hr>
<div class="refsect2">
<a name="GdaDataProxy--prepend-null-entry"></a><h3>The <code class="literal">“prepend-null-entry”</code> property</h3>
<pre class="programlisting">  “prepend-null-entry”       <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
<p>Tells if a row composed of NULL values is inserted as the proxy's first row.</p>
<p>Owner: GdaDataProxy</p>
<p>Flags: Read / Write</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GdaDataProxy--sample-size"></a><h3>The <code class="literal">“sample-size”</code> property</h3>
<pre class="programlisting">  “sample-size”              <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
<p>Number of rows which the proxy will contain at any time, like a sliding window on the proxied data model.</p>
<p>Owner: GdaDataProxy</p>
<p>Flags: Read / Write / Construct</p>
<p>Allowed values: [0,2147483646]</p>
<p>Default value: 300</p>
</div>
</div>
<div class="refsect1">
<a name="GdaDataProxy.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="GdaDataProxy-filter-changed"></a><h3>The <code class="literal">“filter-changed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> *proxy,
               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>      user_data)</pre>
<p>Gets emitted when <em class="parameter"><code>proxy</code></em>
's filter has been changed</p>
<div class="refsect3">
<a name="GdaDataProxy-filter-changed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>the <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GdaDataProxy-row-changes-applied"></a><h3>The <code class="literal">“row-changes-applied”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> *proxy,
               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>          row,
               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>          proxied_row,
               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>      user_data)</pre>
<p>Gets emitted when <em class="parameter"><code>proxy</code></em>
 has committed a row change to the proxied data model.</p>
<div class="refsect3">
<a name="GdaDataProxy-row-changes-applied.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>the <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>row</p></td>
<td class="parameter_description"><p>the proxy's row</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>proxied_row</p></td>
<td class="parameter_description"><p>the proxied data model's row</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GdaDataProxy-row-delete-changed"></a><h3>The <code class="literal">“row-delete-changed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> *proxy,
               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>          row,
               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>      to_be_deleted,
               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>      user_data)</pre>
<p>Gets emitted whenever a row has been marked to be deleted, or has been unmarked to be deleted</p>
<div class="refsect3">
<a name="GdaDataProxy-row-delete-changed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>the <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>row</p></td>
<td class="parameter_description"><p>the concerned <em class="parameter"><code>proxy</code></em>
's row</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>to_be_deleted</p></td>
<td class="parameter_description"><p>tells if the <em class="parameter"><code>row</code></em>
is marked to be deleted</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GdaDataProxy-sample-changed"></a><h3>The <code class="literal">“sample-changed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> *proxy,
               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>          sample_start,
               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>          sample_end,
               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>      user_data)</pre>
<p>Gets emitted whenever <em class="parameter"><code>proxy</code></em>
's sample size has been changed. <em class="parameter"><code>sample_start</code></em>
 and <em class="parameter"><code>sample_end</code></em>
 are
in reference to the proxied data model.</p>
<div class="refsect3">
<a name="GdaDataProxy-sample-changed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>the <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>sample_start</p></td>
<td class="parameter_description"><p>the first row of the sample</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>sample_end</p></td>
<td class="parameter_description"><p>the last row of the sample</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GdaDataProxy-sample-size-changed"></a><h3>The <code class="literal">“sample-size-changed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> *proxy,
               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>          sample_size,
               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>      user_data)</pre>
<p>Gets emitted whenever <em class="parameter"><code>proxy</code></em>
's sample size has been changed</p>
<div class="refsect3">
<a name="GdaDataProxy-sample-size-changed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>the <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>sample_size</p></td>
<td class="parameter_description"><p>the new sample size</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GdaDataProxy-validate-row-changes"></a><h3>The <code class="literal">“validate-row-changes”</code> signal</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a>*
user_function (<a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a> *proxy,
               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>          row,
               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>          proxied_row,
               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>      user_data)</pre>
<p>Gets emitted when <em class="parameter"><code>proxy</code></em>
 is about to commit a row change to the proxied data model. If any
callback returns a non <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> value, then the change commit fails with the returned <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a></p>
<div class="refsect3">
<a name="GdaDataProxy-validate-row-changes.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>proxy</p></td>
<td class="parameter_description"><p>the <a class="link" href="GdaDataProxy.html" title="GdaDataProxy"><span class="type">GdaDataProxy</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>row</p></td>
<td class="parameter_description"><p>the proxy's row</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>proxied_row</p></td>
<td class="parameter_description"><p>the proxied data model's row</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="GdaDataProxy-validate-row-changes.returns"></a><h4>Returns</h4>
<p> a new <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> if validation failed, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
</div>
<p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
</div>
</div>
<div class="refsect1">
<a name="GdaDataProxy.see-also"></a><h2>See Also</h2>
<p><a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a></p>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.32</div>
</body>
</html>